package com.lgx.mobile.dao;

import java.util.List;

import com.lgx.common.exception.DataException;
import com.lgx.common.web.Pagination;
import com.lgx.mobile.entity.TopicChatRecord;

/**
 * 
 * @author xuyichen
 *
 */
public interface ITopicChatRecordDao  {
	public TopicChatRecord createTopicChatRecord(TopicChatRecord topicChatRecord) throws DataException;
	public TopicChatRecord updateTopicChatRecord(TopicChatRecord topicChatRecord) throws DataException;
	public void deleteTopicChatRecord(TopicChatRecord topicChatRecord) throws DataException;
	public void deleteTopicChatRecordById(long id) throws DataException;
	public TopicChatRecord findTopicChatRecordById(long id);
	public List<TopicChatRecord> findTopicChatRecordListByTopicId(long TopicId);
	public List<TopicChatRecord> findTopicChatRecordList();
	public Pagination findTopicChatRecordPaginationByTopicId(long topicId,Object[] params,int pageSize,int pageNum);
}